package com.zmj.sy.mom.srv.aps.bean.entity.mes;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;

@Comment("生产-工件异常")
@Getter
@Setter
@TableName("tb_mes_part_except")
public class PartExcept extends BaseEntity {
    @Comment("计划id")
    private Integer workDetailId;
    @Comment("计划任务id")
    private Integer workDetailTaskId;

    @Comment("工件编号")
    private String materCode;
//    @Comment("施工号")
//    private String constructNo;
    @Comment("工件名称")
    private String materName;

    @Comment("工位编号")
    private String stationCode;
    @Comment("工作组编号")
    private String groupCode;
    @Comment("钢板编号")
    private String plateCode;

    @Comment("plmid")
    private String plmId;

    @Comment("图纸")
    private String drawing;

    @Comment("施工号")
    private String constructCode;

    @Comment("异常数量")
    private Integer exceptCount;
    @Comment("报废数量")
    private Integer breakCount;
    @Comment("完成数量")
    private Integer finishCount;

    @Comment("已完成工序")
    private String prePhaseCode;

    @Comment("待加工工序")
    private String phaseCode;

    @Comment("工序所在位置")
    private Integer phaseSeq;

    @Comment("发起人")
    private String userCode;
    @Comment("备注")
    private String remark;

    @Comment("状态 1待判定  2返修中 3 处理完成 4已报废")
    private Integer status;

}
